package cn.wolfcode.p2p.business.domain;

import cn.wolfcode.p2p.base.domain.AuditBaseDomain;
import cn.wolfcode.p2p.util.Constant;
import lombok.Getter;
import lombok.Setter;
@Setter
@Getter
public class BidRequestAuditHistory extends AuditBaseDomain {

    /**
     * 借款id
     */
    private Long bidRequestId;
    /**
     * 审核类型
     */
    private Integer auditType;

    /**
     * 审核类型的名字
     */
    public String getAuditTypeDisplay(){
        switch (auditType){
            case Constant.APPLY_AUDIT:return "借款申请审核";
            case Constant.APPROVE_PENDING_1:return "满标一审";
            case Constant.APPROVE_PENDING_2:return "满标二审";

        }
        return "类型异常";
    }

}